import request from '@/utils/request'
// 平台供采大厅类型列表数据
export function demandTypeList (data) {
  return request({
    url: '/platformDemand/getDemandTypeAll',
    method: 'post',
    data
  })
}
// 平台供采大厅类型添加
export function demandTypeAdd (data) {
  return request({
    url: '/platformDemand/demandTypeSave',
    method: 'post',
    data
  })
}
// 平台供采大厅类型查看
export function demandTypeDetail (params) {
  return request({
    url: '/platformDemand/demandTypeInfo',
    method: 'post',
    params
  })
}
// 平台供采大厅类型删除
export function demandTypeDelete (params) {
  return request({
    url: '/platformDemand/demandTypeDelete',
    method: 'post',
    params
  })
}

// 平台供采大厅列表数据
export function demandList (data) {
  return request({
    url: '/platformDemand/getDemandAll',
    method: 'post',
    data
  })
}
// 平台供采大厅添加
export function demandAdd (data) {
  return request({
    url: '/platformDemand/demandSave',
    method: 'post',
    data
  })
}
// 平台供采大厅查看
export function demandDetail (params) {
  return request({
    url: '/platformDemand/demandInfo',
    method: 'post',
    params
  })
}
// 平台供采大厅删除
export function demandDelete (params) {
  return request({
    url: '/platformDemand/demandDelete',
    method: 'post',
    params
  })
}
// 平台供采大厅审核
export function demandExamine (params) {
  return request({
    url: '/platformDemand/demandExamine',
    method: 'post',
    params
  })
}
